package com.ruoyi.scrap.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.scrap.domain.ScrapApply;
import com.ruoyi.scrap.domain.po.ScrapApplyInfoPo;
import com.ruoyi.scrap.domain.po.ScrapApplyPo;
import com.ruoyi.scrap.domain.vo.ScrapApplyAuditVo;
import com.ruoyi.scrap.domain.vo.ScrapApplyVo;

import java.util.List;

public interface ScrapApplyService extends IService<ScrapApply> {

    public List<ScrapApply> getScrapApply(ScrapApply scrapApply);

    public ScrapApplyPo getInfo(String applyId);

    public boolean save(ScrapApplyVo applyVo, SysUser loginUser);

    public boolean remove(String[] ids,SysUser loginUser);

    public int audit(ScrapApplyAuditVo auditVo,SysUser loginUser);

    public JSONObject auditor(SysUser loginUser);

}
